package com.albaba.designpattern.adapter.text_001;

/**
 * @author zx
 * @version 1.0
 * @description 适配器类
 * @date 2025/2/20 22:00
 */
public class SDAdapterTF extends TFCardImpl implements SDCard{



    @Override
    public String readSD() {
        System.out.println("adapter read tf card");
        return readTF();
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("adapter write tf card");
        writeTF(msg);
    }
}
